﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace sp500
{
    class Sp500QuteHistoryList
    {
        List<Sp500Dailyquote> historylist = new List<Sp500Dailyquote>();
        string companysymbol;

        public Sp500QuteHistoryList(string symbol)
        {
            // validate the company symbol
            companysymbol = symbol;
        }

        public void addDailyQute(Sp500Dailyquote quteDaily)
        {
            historylist.Add(quteDaily);
        }

        public List<Sp500Dailyquote> getHistoryqute()
        {
            return historylist;
        }
    }
}
